package com.ruoyi.ring.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 事件小计内容对象 az_daily_tags_conf
 * 
 * @author liuwp
 * @date 2025-08-18
 */
@Data
public class DailyTagsConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 标签类型:事件=1, 娱乐活动=2, 症状=3  字典：ar_daily_tags_type*/
    @Excel(name = "标签类型:事件=1, 娱乐活动=2, 症状=3", dictType = "ar_daily_tags_type")
    private Integer tagType;

    /** 标签代号 */
    @Excel(name = "标签代号")
    private String tagCode;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String tagName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 计算日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计算日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dailyValue;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tagType", getTagType())
            .append("tagCode", getTagCode())
            .append("tagName", getTagName())
            .append("userId", getUserId())
            .append("dailyValue", getDailyValue())
            .toString();
    }
}
